/** 路由配置 */
export default [
  {
    path: '/rectify/hard',
    name: 'RectifyHard',
    component: () => import('@/views/rectify'),
    meta: {
      title: '硬装整改任务管理',
      keepAlive: true,
      showCrumbs: true,
      name: 'Rectify'
    },
    props: { rectifyType: 'HARD' },
    hidden: true
  },
  {
    path: '/rectify/abnormal/hard',
    name: 'RectifyAbnormalHard',
    component: () => import('@/views/rectify/abnormal'),
    meta: {
      title: '硬装整改异常'
    },
    props: { rectifyType: 'HARD' },
    hidden: true
  },
  {
    path: '/rectify/submitInfo/hard',
    name: 'RectifySubmitInfoHard',
    component: () => import('@/views/rectify/submitInfo'),
    meta: {
      title: '硬装整改资料提交'
    },
    props: { rectifyType: 'HARD' },
    hidden: true
  },
  {
    path: '/rectify/detail/hard',
    name: 'RectifyDetailHard',
    component: () => import('@/views/rectify/detail'),
    meta: {
      title: '硬装整改详情'
    },
    props: { rectifyType: 'HARD' },
    hidden: true
  },
  // 软装
  {
    path: '/rectify/soft',
    name: 'RectifySoft',
    component: () => import('@/views/rectify'),
    meta: {
      title: '软装整改任务管理',
      keepAlive: true,
      showCrumbs: true,
      name: 'Rectify'
    },
    props: { rectifyType: 'SOFT' },
    hidden: true
  },
  {
    path: '/rectify/abnormal/soft',
    name: 'RectifyAbnormalSoft',
    component: () => import('@/views/rectify/abnormal'),
    meta: {
      title: '软装整改异常'
    },
    props: { rectifyType: 'SOFT' },
    hidden: true
  },
  {
    path: '/rectify/submitInfo/soft',
    name: 'RectifySubmitInfoSoft',
    component: () => import('@/views/rectify/submitInfo'),
    meta: {
      title: '软装整改资料提交'
    },
    props: { rectifyType: 'SOFT' },
    hidden: true
  },
  {
    path: '/rectify/detail/soft',
    name: 'RectifyDetailSoft',
    component: () => import('@/views/rectify/detail'),
    meta: {
      title: '软装整改详情'
    },
    props: { rectifyType: 'SOFT' },
    hidden: true
  }
]
